﻿

namespace WebServer.Proto
{
    public class NetSend_WhiteList : NetSendToServer
    {
        public WhiteListData whiteListData;
        protected override ISerialize data
        {
            get
            {
                return whiteListData;
            }
        }

        public override ResponseData NewResponseData() => new ResponseData();

        public override bool needResponse => true;

        public NetSend_WhiteList() : base()
        {
            message.key = "WhiteList";
        }

        protected override void OnSend(Remote remoteConnect)
        {
            base.OnSend(remoteConnect);

            GameDebug.Log($"向游戏逻辑服务器请求设置白名单");
        }
    }

}

